National Repository of Grey Literature 2 records found  Search took 0.01 seconds. 
Application of MATLAB Coder for automatic generation of C code for dsPIC microcontrollers
Mácha, Tomáš ; Křivánek, Václav (referee) ; Grepl, Robert (advisor)
Generating C code from MATLAB can be a powerful tool for a wide range of engineering problems. Especially in cases where MATLAB excels, including matrix operations and some of the built-in functions, code conversion may represent a significant assistance in their development. The aim of this master's thesis is to explore the possibilities of generating C code using MATLAB Coder App. As the documentation for MATLAB Coder was not found sufficient a theoretical basis for the use of this tool was introduced along with simple examples of possible applications. Next, code generation for controlling a laboratory DC motor using a microcontroller dsPIC was made automatic and controlled directly from a single MATLAB script. Individual steps were described to supplement existing documentation and to allow for an easy use. Finally, selected functions were tested for code generation. As a result, certain limitations can be outlined, as well as suitability of both the created tool and the MATLAB Coder App.
Application of MATLAB Coder for automatic generation of C code for dsPIC microcontrollers
Mácha, Tomáš ; Křivánek, Václav (referee) ; Grepl, Robert (advisor)
Generating C code from MATLAB can be a powerful tool for a wide range of engineering problems. Especially in cases where MATLAB excels, including matrix operations and some of the built-in functions, code conversion may represent a significant assistance in their development. The aim of this master's thesis is to explore the possibilities of generating C code using MATLAB Coder App. As the documentation for MATLAB Coder was not found sufficient a theoretical basis for the use of this tool was introduced along with simple examples of possible applications. Next, code generation for controlling a laboratory DC motor using a microcontroller dsPIC was made automatic and controlled directly from a single MATLAB script. Individual steps were described to supplement existing documentation and to allow for an easy use. Finally, selected functions were tested for code generation. As a result, certain limitations can be outlined, as well as suitability of both the created tool and the MATLAB Coder App.

Interested in being notified about new results for this query?
Subscribe to the RSS feed.